package com.cheneyjoo.services;

import com.cheneyjoo.model.Question;
import com.cheneyjoo.model.ResponseMessage;

public interface IExamService {
    ResponseMessage addExam(String data);
    ResponseMessage updateExam(String data);
    ResponseMessage deleteExam(int id);
    ResponseMessage getExam();
    ResponseMessage getExamById(int id);
    ResponseMessage releaseExam(int id);
    ResponseMessage recoveryExam(int id);
    ResponseMessage getExamByStatus(int status);
    ResponseMessage getQuestion(int examID, int questionID);
    ResponseMessage getQuestions(int id);
    ResponseMessage updateQuestion(int examID, int questionID, String data);
    ResponseMessage deleteQuestion(int examID, int questionID);
}
